"""author: wangxin
   data: 2021/11/24
   project: 王鑫 容器作业.py
"""

str = input("请输入一个字符串")

str1 = str[::-1]

if str == str1:
    print("该字符串属于回文")
else:
    print("该字符串不属于回文")